import request from '@/utils/request'

/**
 * 文章列表
 * @param params
 * @returns {AxiosPromise}
 */
export const getArticleList = params => request({
  url: '/api/admin/article/getArticleList',
  method: 'get',
  params
})

/**
 * 删除文章
 * addArticle
 */
export const delArticle = data => request({
  url: '/api/admin/article/delArticle',
  method: 'post',
  data
})

